package com.dc.model;

import com.wordnik.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class OperationLog {
    // 操作日志id
    private int operationlog_id;
    // 操作的内容
    private String content;
    // 操作人id
    private Integer user_id;
    // 操作人账号
    private String user_account;
    // 操作人名字
    private String user_name;
    // 请求ip
    private String request_ip;
    // 操作类型
    private String type;
    // 操作模块
    private String module;
    // 操作时间
    private Date operation_time;
    // 版本号
    private Integer version;
    // 请求的方法类
    private String request_method;

    public int getOperationlog_id() {
        return operationlog_id;
    }

    public void setOperationlog_id(int operationlog_id) {
        this.operationlog_id = operationlog_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_account() {
        return user_account;
    }

    public void setUser_account(String user_account) {
        this.user_account = user_account;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getOperation_time() {
        return operation_time;
    }

    public void setOperation_time(Date operation_time) {
        this.operation_time = operation_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getRequest_ip() {
        return request_ip;
    }

    public void setRequest_ip(String request_ip) {
        this.request_ip = request_ip;
    }

    public String getRequest_method() {
        return request_method;
    }

    public void setRequest_method(String request_method) {
        this.request_method = request_method;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("OperationLog{");
        sb.append("operationlog_id=").append(operationlog_id);
        sb.append(", content='").append(content).append('\'');
        sb.append(", user_id=").append(user_id);
        sb.append(", user_account='").append(user_account).append('\'');
        sb.append(", user_name='").append(user_name).append('\'');
        sb.append(", request_ip='").append(request_ip).append('\'');
        sb.append(", type='").append(type).append('\'');
        sb.append(", module='").append(module).append('\'');
        sb.append(", operation_time=").append(operation_time);
        sb.append(", version=").append(version);
        sb.append(", request_method='").append(request_method).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
